import Vue from 'vue'
import App from './App.vue'
import axios from 'axios'
import VueRouter from 'vue-router'   
import 'bootstrap/dist/css/bootstrap.css'
import './assets/fonts/iconfont.css'
import MyGoodsList from '@/views/MyGoodsList'
import MyGoodsSearch from '@/views/MyGoodsSearch'
import MyUserInfo from '@/views/MyUserInfo'
Vue.use(VueRouter)
const routes = [
  { path:'/MyGoodsList',component: MyGoodsList ,name:'MyGoodsList'},
  { path:'/MyGoodsSearch',component: MyGoodsSearch,name:'MyGoodsSearch'},
  { path:'/MyUserInfo',component: MyUserInfo,name:'MyUserInfo'},
]

const router = new VueRouter({
    routes,
})

Vue.config.productionTip = false
Vue.prototype.$axios = axios
axios.defaults.baseURL = 'https://www.escook.cn'
new Vue({
    router,
    render: (h) => h(App),
}).$mount('#app')
